package br.ujr.dynamicproxy;

public class ClienteServiceBean implements ITransacao {
	
	public void method01() {
		System.out.println(this.getClass().getName() + "#method01");
	}

	public void method02() {
		System.out.println(this.getClass().getName() + "#method02");
	}

	@TransacaoAtributo(TransacaoAtributoTipo.REQUER)
	@Override
	public void save() {
		System.out.println(this.getClass().getName() + "#save");
	}

	
	@TransacaoAtributo(TransacaoAtributoTipo.NAO_REQUER)
	@Override
	public void remove() {
		System.out.println(this.getClass().getName() + "#remove");
	}
}
